//app.js

App({
  globalData:{
    key:wx.getStorageSync("key"),
    HTTP:"https://test.mvip100.com/",
    ApiUrl: "https://test.mvip100.com/mobile_xcx/",
    // ApiUrl1: "http://192.168.0.120/upload/mobile_xcx/",
    BaseURL:"https://test.mvip100.com/mobile_xcx/",
    city: wx.getStorageSync("currentLocation"),
    gc_id:''
  },
  showAlert:function(msg){
    wx.showToast({
      title: msg,
      mask: true,
      icon: "loading",
      duration: 6000,
      success: function () {
        setTimeout(function () {
          wx.navigateBack();
        }, 2000)

      }
    });
  }
})
